Anchor Utility Choosing the HyperText Link... or Named Anchor… command from the Anchor menu displays the Anchor Utility. Items within this dialog box are described below. For more information on creating an anchor tag or URL (Uniform Resource Locator), check out the Beginner's Guide section "Linking to Other Documents". Sample Anchor Shows the constructed anchor tag as it will be inserted into the document. While only the first 30 characters of the link text are shown in the sample, the actual text is not truncated when inserted into the actual document. Form The "Full" and "Relative" buttons. Selects the form of the created anchor tag: • Full (aka "Absolute") URL. This will create the server portion of the URL using the information located in the Scheme, Server and Port fields, then append the HREF field to create an fully specified URL. • Relative URL. This is the document name, optionally prepended with the relative path to the target document if not in the same directory as the current document. Note that use of relative URL assumes the target is on the same server as the current HTML document. Note that entering a full URL into the HREF field overrides the contents of the Scheme, Server and Port fields. Scheme (required for full URL; not used with "Relative") Either selected by the popUp menu or manually entered, this is the communication scheme of the file. Usually this will be "http:" for html documents and image files, "ftp:" for file transfer protocol, etc. Server (required for full URL; not used with "Relative") The server name as it is known on the Internet, such as "www.ncsa.edu". Clicking on the "Server:" button gives you the option of replacing the default server (as set on the Preferences card) with the current server name, or of using the default server. For information on Setting Up a Web Server, or Paths and Filenames. Port (optional for full URL; not used with "Relative") Most HTTP transmission defaults to port 80. If you've set up communications through a different port, enter that number here. Otherwise, leave this blank. Include HREF= (required for HyperText Links) The hypertext reference is the directory or file name of the target of the link, commonly an HTML document. If this document is not in the same directory as the current HTML document, prepend the relative path to the filename. For example, if the current document is "/project/document.html" (a document named "document.html" located in a "project" folder on your server) and you want to reference two HTML documents, one named "contents.html" in the same folder, the other named "conrad.html" located in a "conrad" folder in the "people" folder on your server "www.server.edu", the full anchor tags would look like: or the partial (or relative) tags: Note that the External File and Select Document commands under the HREF popUp menu will automatically attach the proper relative path to the URL if the server location has been defined (under Paths, Folders & Labels Preferences, on the Preferences card) and the document's path/location is within or below the server's directory (folder). Fragment-ID (optional) The fragment-id is a reference to a named anchor within the target document, allowing browsers to scroll directly to the specific location within the document. The fragment-id is appended to the document name following a pound "#" sign, as in Include NAME= (required for Named Anchors; optional otherwise) The name attribute is used to define a named anchor, to specify the target of a hypertext link within the body of a document, as in Other Permitted Attributes ID= With HTML 3.0 you can use ID attributes on most elements for named link ends (ie., the function of named anchors). The use of the NAME attribute on anchors is deprecated, that is, it will be supported as a legacy feature, but ID is the intended replacement. As if this writing, most WWW browsers do not yet support this feature. REL= Describes the relationship the destination of the link has to the current document; the forward relationship. REV= Describes the current document's relationship of the destination of the link; the reverse relationship, the inverse of REL. TITLE= This is informational only and defines the title to use when the linked document is otherwise untitled. URN= Permanent address of the destination. Deprecated use in HTML 3.0. METHODS= Supported public methods of the linked object: TEXTSEARCH, GET, HEAD, etc. Note For compatibility with other systems, avoid using spaces or special characters in either your folder or document names. Back to Anchor menu, on to Form menu, or return to HTML.edit Features.